import { getLocale } from '@/locales'

type SideBar = {
  opened: boolean
  withoutAnimation: boolean
}

export type AppState = {
  device: string
  size: string
  sidebar: SideBar
  language: string
}
export const state: AppState = {
  device: 'desktop',
  size: 'medium',
  sidebar: {
    opened: true,
    withoutAnimation: false
  },
  language: getLocale()
}
